package pkmn.item.itens;

import pkmn.Pokemon;
import pkmn.item.BattleItem;
import pkmn.status.Status;
import pkmn.status.StatusEnum;

public class ParalyzHeal implements BattleItem {

    String description;
    int price;

    public ParalyzHeal() {
        this.description = "A spray-type medicine. It heals one Pokémon from paralysis.";
        this.price = 200;
    }

    public String getDescription() {
        return this.description;
    }

    public int getPrice() {
        return this.price;
    }

    public void action(Pokemon pokemon) {
        if (pokemon.getStatus().equals(StatusEnum.sleep)) {
            pokemon.setStatus(new Status(StatusEnum.none));
        } else {
        }
    }
}
